/*  1:   */ package org.intellij.lang.regexp;
/*  2:   */ 
/*  3:   */

import com.intellij.openapi.fileTypes.FileTypeConsumer;
import com.intellij.openapi.fileTypes.FileTypeFactory;
import org.jetbrains.annotations.NotNull;

/*  4:   */
/*  5:   */
/*  6:   */ 
/*  7:   */ public class RegExpSupportLoader
/*  8:   */   extends FileTypeFactory
/*  9:   */ {
/* 10:24 */   public static final RegExpLanguage LANGUAGE = RegExpLanguage.INSTANCE;
/* 11:25 */   public static final RegExpFileType FILE_TYPE = RegExpFileType.INSTANCE;
/* 12:   */   
/* 13:   */   public void createFileTypes(@NotNull FileTypeConsumer paramFileTypeConsumer)
/* 14:   */   {
/* 15:28 */     if (paramFileTypeConsumer == null) {
/* 16:28 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "0", "org/intellij/lang/regexp/RegExpSupportLoader", "createFileTypes" }));
/* 17:   */     }
/* 18:28 */     paramFileTypeConsumer.consume(FILE_TYPE, FILE_TYPE.getDefaultExtension());
/* 19:   */   }
/* 20:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.intellij.lang.regexp.RegExpSupportLoader

 * JD-Core Version:    0.7.0.1

 */